//
//  GoodCollectionViewCell.m
//  Wujin
//
//  Created by cz on 2016/12/8.
//  Copyright © 2016年 dong. All rights reserved.
//

#import "GoodCollectionViewCell.h"


@interface GoodCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *goodImageView;
@property (weak, nonatomic) IBOutlet UILabel *goodNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *goodPriceLabel;

@end

@implementation GoodCollectionViewCell

- (void)setGoodsList:(GoodsModel *)goodsList {
    _goodsList = goodsList;
    [self.goodImageView sd_setImageWithURL:[NSURL URLWithString:goodsList.gds_img]];
    self.goodNameLabel.text = F(@"%@", goodsList.name);
    self.goodPriceLabel.text = F(@"¥ %@元", goodsList.price);
}



@end
